package com.cykj.pos.service;

import com.alibaba.fastjson.JSONObject;
import com.cykj.common.core.domain.AjaxResult;
import com.cykj.pos.domain.BizCashoutRecords;
import com.cykj.pos.domain.BizMerchant;
import com.cykj.pos.pojo.SearchMer;
import org.springframework.boot.configurationprocessor.json.JSONException;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public interface PosV1AppMerApiService {

//    Map<String, Object> userSign(JSONObject jsonObject);

    Map<String, Object> searchMer(JSONObject jsonObject);

//    AjaxResult batchPayMent(JSONObject jsonObject) throws Exception;

    Map<String, Object> queryPayment(JSONObject jsonObject);

    String notifyPayment(String requestJson,String code) throws Exception;

    String notifyPaymentHb(String requestJson,String code) throws Exception;

    String notifyPaymentLf(String requestJson,String code) throws Exception;

    String getStatus(JSONObject jsonObject);
    void with(BizMerchant merchant, BizCashoutRecords cashoutRecords);
}
